//改变受伤程度，但不杀死红军玩家
params ["_unit", "_v"];

if(!isDamageAllowed _unit) exitWith{};

private _damage = (damage _unit) + _v;

if (_unit isKindOf "Man"
 && {isPlayer _unit}
 && {_unit call fn_isPlayerRed}) then
{
	if(_damage < 0.70) then{
		_unit setDamage _damage;
	}
	else{
		if(_unit getVariable ['FAR_isUnconscious',0] == 0) then
		{
			[_unit, objNull, objNull, [0,0]]spawn FAR_unit_Unconscious;
		};
	};
}
else
{
	_unit setDamage _damage;
};


